<template>
    <div id="header" style="z-index: 999; position: relative;">
				<div id="header_left">
					<a href="#" id="img_header"></a>
				</div>
				<div id="header_middle">
					<ul>
						<li>
							<a href="#" class="hover_bottom">首页</a>
						</li>
						<li>
							<a href="#" class="hover_bottom">目的地</a>
						</li>
						<li>
							<a href="#" class="hover_bottom">旅游攻略</a>
						</li>
						<li id="xiala1" class="hover_top">
							<a href="#" class="xl_lineheight">去旅行
									<span class=" iconfont icon-xiala"></span>
								</a>
								<div id="go_trip">
									<ul>
										<li>
											<a href="">自由行</a>
											<span id="hot_content">hot</span>
										</li>
										<li>
											<a href="">跟团游</a>
										</li>
										<li>
											<a href="">当地游</a>
										</li>
										<li>
											<a href="">游轮</a>
										</li>
										<li>
											<a href="">签证</a>
										</li>
									</ul>
								</div>
							<img src="../.././public/img/footer/mfw-footer-sprite7.png" alt="">
						</li>
						<li>
							<a href="#" class="hover_bottom" id="checp">机票火车票
								
							</a>
						</li>
						<li>
							<a href="#" class="hover_bottom">订酒店</a>
						</li>
						<li id="xiala2" class="hover_top">
							<a href="#" class="xl_lineheight">社区
								<span class=" iconfont icon-xiala"></span>
							</a>
								<div id="community">
									<ul id="community_left">
										<li>
											<a href="">问答</a>
										</li>
										<li>
											<a href="">马蜂窝周边</a>
										</li>
										<li>
											<a href="">蜂首俱乐部</a>
										</li>
										<li>
											<a href="">结伴</a>
										</li>
									</ul>
									<ul id="community_right">
										<li>
											<a href="#">小组论坛</a>
										</li>
										<li>
											<a href="#">分舵同城</a>
										</li>
										<li>
											<a href="#">马蜂窝拍卖行</a>
										</li>
										<li>
											<a href="#">照片PK</a>
										</li>
										<li>
											<a href="">真人兽</a>
										</li>
										<li>
											<a href="">道具商店</a>
										</li>
									</ul>
								</div>
							
						</li>
						<li>
							<a href="#" class="hover_bottom">APP</a>
						</li>
						<li>
							<a class="hover_bottom" href="#">
								<div id="logo_middle"></div>
							</a>
						</li>
					</ul>
				</div>
				<div id="logo_right">
							<a href="#" id="sina"></a>
							<a href="#" id="qq"></a>
							<a href="#" id="wechat"></a>
							<a href="#">登录</a>
							<span id="header_span">|</span>
							<a href="#">注册</a>
				</div>
				
			</div>
</template>
<style scoped>
*{
	margin: 0;padding: 0;
}
.xl_lineheight{
	line-height: 60px !important;
}
#header::after{
	content: "";
	clear: both;
	display: block;
}
.hover_top .iconfont{
	font-size: 10px;
}
#header{
	width: 1200px;
	margin: 0 auto;
	
}
#header_left{
	text-align: center;
	float: left;
	padding: 13px 0 0 0;
	width: 136px;
}
#img_header{
	display: block;
	width:136px;height: 43px;
	background: url(../.././public/img/header/header-sprites15.png) no-repeat 0 0;
}
#header_middle{
	float: left;
}
#header_middle>ul{
	display: flex;
	justify-content: flex-start;
	margin: 0;
	height: 68px;
	font-size: 16px
}
#header_middle>ul>li{
	
	list-style: none;
}
#header_middle>ul>li>a{
	display: inline-block;
	line-height: 65px;
	color: #333;
	padding: 0 16px;
	text-decoration: none;
}
.hover_top{
	position: relative;
	border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	border-top: 3px solid #fff;
}
.hover_bottom{
	border-bottom:3px solid #fff ;
}
.hover_top:hover{
	box-sizing: border-box;
	border-top:3px solid #ff9d00;
	border-left: 1px solid #EAEAEA;
	border-right: 1px solid #EAEAEA;
}
.hover_top:hover>a{
	color:#ff9d00 !important;
}
.hover_bottom:hover{
	color:#ff9d00 !important;
	border-bottom:3px solid #ff9d00;
}
#go_trip{
	position: absolute;
	top: 62px;
	background: #f7f6f6;
	opacity: 0;
	width: 140px;
	z-index: 999;
}
#community{
	z-index: 999;
	background: #f7f6f6;
	margin-top: -2px;
	display: none;
	width: 300px;
}
#community a{
	color: #666;
}
#community_left li:first-child a{
	color:#ff9d00 !important;
}
#community_left li:first-child{
	position: relative;
}
#community_left li:first-child a::after{
	display: inline-block;
	content: "hot";
	background: #F46240;
	color: #fff;
	font-size: 12px;
	left: 40px;
	top: 7px;
	position: absolute;
	width: 30px;
	height: 14px;
	text-align: center;
	line-height: 14px;
	border-radius: 0.125rem;
}
#community_left li:nth-child(2){
	position: relative;
}
#community_left li:nth-child(2) a::after{
	display: inline-block;
	content: "new";
	background: #1ec896;
	color: #fff;
	font-size: 12px;
	left: 88px;
	top: 10px;
	position: absolute;
	width: 34px;
	height: 15px;
	text-align: center;
	line-height: 15px;
	border-radius: 0.125rem;
	}
#community_left{
	justify-content: center;
}
#community_left>li{
	height: 75px;
	line-height: 32px;
	font-size: 16px;
}
#community_right{
	margin-left: 20px;
}
#community_right>li{
	height: 32px;
	line-height: 32px;
	font-size: 14px;
}
#community a:hover{
	color:#ff9d00;
}
#xiala1:hover #go_trip{
	opacity: 1;
}
#xiala1{
	z-index: 1000;
}
#xiala2:hover #community{
	position: absolute;
	display:block;
}
#go_trip>ul{
	list-style: none;
}

#community>ul{
	list-style: none;
}
#hot_content{
	display: inline-block;
	content: "hot";
	background: #F46240;
	color: #fff;
	font-size: 12px;
	width: 30px;
	height: 14px;
	text-align: center;
	line-height: 14px;
	border-radius: 0.125rem;
}
#community_left{
	float: left;
	padding: 10px 20px 10px 20px;
}
#community_right{
	float: left;
	padding: 10px 20px 10px 20px;
}
#community>ul>li>a{
	text-decoration: none;
}
#go_trip>ul>li{
	padding-left: 20px;
}
#go_trip>ul>li a{
	
	line-height: 50px;
	font-size: 16px;
	text-decoration: none;
	color:#666 ;
}
#go_trip>ul>li:hover{
	background: #eee;
}


#logo_middle{
	width: 75px;height: 65px;
	background: url(../.././public/img/header/mfwzx.png) no-repeat center;
	background-size: 75px 30px;
}

#logo_right{
	display: flex;
	justify-items: center;
	justify-content: space-between;
	float: right;
	width: 183px;
	height: 26px;
	padding: 21px 0;
}

#logo_right>a{
	line-height: 26px;
	color: #333;
	text-decoration: none;
	font-size:14px ;
	color: #ff9d00;
}
#sina{
	margin-right: 6px;
	display: inline-block;
	width: 26px;height: 26px;
	background: url(../.././public/img/header/header-sprites15.png) no-repeat 0 -50px;
}
#qq{
	margin-right: 6px;
	display: inline-block;
	width: 26px;height: 26px;
	background: url(../.././public/img/header/header-sprites15.png) no-repeat -30px -50px;
}
#wechat{
	margin-right: 6px;
	display: inline-block;
	width: 26px;height: 26px;
	background: url(../.././public/img/header/header-sprites15.png) no-repeat 0 -165px;
}
#sina:hover{
	background: url(../.././public/img/header/header-sprites15.png) no-repeat 0 -80px;
}
#qq:hover{
	background: url(../.././public/img/header/header-sprites15.png) no-repeat -30px -80px;
}
#wechat:hover{
	background: url(../.././public/img/header/header-sprites15.png) no-repeat -30px -165px;
}
#logo_right>a:hover{
	text-decoration: underline;
}
#header_span{
	display: inline-block;
	width: 1px;
	height: 14px;
	/* margin: 0 10px; */
	color:#333 ;
}
#checp{
	position: relative;
	z-index: 1;
}
#checp::after{
	content: "特价";
	display: block;
	position: absolute;
	top: 9px;
	right: -10px;
	z-index: 3;
	height: 16px;
	line-height: 16px;
	padding: 0 4px;
	border-radius: 4px 0 4px 0;
	font-size: 11px;
	color: #fff;
	font-family: PingFangSC-Semibold;
	font-weight: bold;
	background: #f00;
}

</style>